<template>
	<div class="head-nav-bar">
		<div class="left">
			<slot name="left"></slot>
		</div>
		<div class="center">
			<slot name="center"></slot>
		</div>
		<div class="right">
			<slot name="right"></slot>
		</div>
	</div>
</template>

<script>
	export default {
		name:'headNavBar'
	}
</script>

<style>
	.head-nav-bar {
		position: fixed;
		left: 0;
		right: 0;
		top: 0;
		display: flex;
		justify-content: space-between;
		align-items: center;
		background: pink;
		width: 100vw;
		height: 44px;
		line-height: 44px;
	}
	.left {
		width: 44px;
	}
	.center {
		flex: 1;
		text-align: center;
		font-size: 0.64rem;
	}
	.right {
		width: 44px;
	}
</style>
